#ifndef PROGRESSION_H
#define PROGRESSION_H

#include<QList>

class Progression
{
public:
    enum RepeatMode{
        REPEAT_NONE,
        REPEAT_ONE,
        REPEAT_ALL,
    };

    Progression();
    ~Progression();

    void add(int pos);

    bool next();
    bool prev();
    short int current()const;
    void print()const;
protected:
    QList<short int> m_songs;
    QList<short int> m_played;
    RepeatMode m_repeat;
};

#endif // PROGRESSION_H
